package com.yjc.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yjc.hire.utils.LocalDateUtils;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * </p>
 *
 * @author jcyin
 * @since 2025/9/10
 * </p>
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class NewArticleBO {
    private String articleId;

    private String title;

    private String content;

    private String articleCover;

    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = LocalDateUtils.DATETIME_PATTERN)
    private LocalDateTime publishTime;
}
